﻿
using Microsoft.EntityFrameworkCore;
using Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL
{
    public class MyContext : DbContext
    {
        public MyContext(DbContextOptions options) : base(options)
        {
        }


        public DbSet<Role> Roles { get; set; }
        public DbSet<Employee>  Employees { get; set; }
        public DbSet<Activity>  Activities { get; set; }
        public DbSet<ActivityType> ActivityTypes { get; set; }

    }
}
